<%@ page language="java" contentType="text/html; charset=utf8"
	pageEncoding="utf8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>

<form:form cssClass="form-horizontal" modelAttribute="user"
	action="user" method="post">
			'
				<h3>创建用户</h3>
	<div class="control-group">
		<label class="control-label" for="inputName">姓名</label>
		<div class="controls">
			<form:input id="inputName" path="name" />
		</div>
	</div>
	<div class="control-group">
		<label class="control-label" for="inputBirthDate">生日</label>
		<div class="controls">
			<div class="input-append date" data-date=""
				data-date-format="yyyy-mm-dd">
				<form:input id="inputBirthDate" path="birthDate" readonly="true" />
				<span class="add-on"><i class="icon-calendar"></i></span>
			</div>
		</div>
	</div>
	<div class="control-group">
		<label class="control-label" for="inputEmail">邮箱</label>
		<div class="controls">
			<form:input id="inputEmail" path="email" />
		</div>
	</div>
	<div class="control-group">
		<label class="control-label" for="inputPhoneno">电话号码</label>
		<div class="controls">
			<form:input id="inputPhoneno" path="phoneno" />
		</div>
	</div>
	<div class="control-group">
		<div class="controls">
			<button type="submit" class="btn btn-primary"><i class="icon-upload"></i>&nbsp;&nbsp;创建</button>
			<a href='<c:url value="/user/all"/>' class="btn"><i class="icon-hand-left"></i>&nbsp;&nbsp;返回</a>
		</div>
	</div>
</form:form>
